import java.util.Scanner;

public class P4_14 {
	public static void main(String[] args)
	{
		Scanner in = new Scanner(System.in);		
		
		float a;
		float b;
		
		
		System.out.println("Please enter two floats :");
		a = in.nextFloat();
		b = in.nextFloat();
		
		int aRound = (int) a*100;
		int bRound = (int) b*100;
		
		if (aRound==bRound)
		{
			System.out.println("The are the same when rounded to two decimals");
		}
		else
		{
			System.out.println("The are not the same when rounded to two decimals");
		}
		if (Math.abs(a-b)<0.01)
		{
			System.out.println("They differ by less the 0.01");
		}
		else
		{
			System.out.println("They differ by more the 0.01");	
		}
	}
}
